rational equations and inequalities